package com.tongfusoft.document.entity;

import javax.persistence.Entity;

import com.tongfusoft.spring.web.core.data.BaseData;

@Entity
public class RoleHasUsers extends BaseData {
	/**
	 * 
	 */
	private String ruId;
	/**
	 *用户ID
	*/
	private String userId;
	/**
	 * 角色ID
	 */
	private String roleId;
	/**
	 * 角色名
	 */
	private String roleName;
	
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * 是否有效 1是，0否
	 */
	private String status;

	@Override
	public String getPkName() {
		return "ruId";
	}

	public String getRuId() {
		return ruId;
	}

	public void setRuId(String ruId) {
		this.ruId = ruId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}